package com.fifth.common.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @作者：刘壬杉
 * @创建时间 2022/9/3 11:01
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("g_unit")
@ApiModel(value = "Unit对象", description = "")
public class Unit {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Integer id;
    @ApiModelProperty("商品单位名称")
    private String unitname;
}
